
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>潮品注册</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/static/public/layui/css/layui.css">
    <link rel="stylesheet" href="/static/public/static/css/index.css">
    <script src="{{ url_for('static',filename='cryptojs/rollups/sha256.js') }}"></script>
</head>

<body>


<div class="layui-fulid" id="house-login">

    <form class="js-ajax-form layui-form" action="" method="post" style="height: 580px;">
    <p>潮品</p>

    <div class="layui-input-block login">
      <i class="layui-icon layui-icon-house-mobile"></i>
      <input type="text" required lay-verify="required" name="phone" placeholder="请输入手机号" class="layui-input">
    </div>
    <div class="layui-input-block login">
      <i class="layui-icon layui-icon-house-mobile"></i>
      <input type="text" required lay-verify="required" placeholder="请输入用户名" name="username" class="layui-input">
    </div>

    <div class="layui-input-block getCode">
      <input type="text" required lay-verify="required" name="captcha" placeholder="请输入短信验证码" class="layui-input">
      <a class="layui-btn" id="yan" style="text-align:center" >获取验证码</a>
    </div>

    <div class="layui-input-block login">
      <i class="layui-icon layui-icon-house-mobile"></i>
      <input type="password" required lay-verify="required" name="password" placeholder="请输入密码" class="layui-input">
    </div>

    <div class="layui-input-block login">
      <i class="layui-icon layui-icon-house-mobile"></i>
      <input type="password" required lay-verify="required" name="password2" placeholder="请确认密码" class="layui-input">
    </div>


        <button class="layui-btn" lay-submit lay-filter="user-login" id="registered" style="margin-top: 0px">注册账户</button>
{#        <p>注册即代表阅读并同意<a href="{{ url_for('users.user_protocol') }}" style="color: #5182bb">服务条款</a></p>#}

    <div class="layui-input-block getCode">
      <input type="hidden" required lay-verify="required" placeholder="请输入邀请码" value="{{ invite }}" name="invite" class="layui-input">
    </div>


    </form>
</div>

<script src="/static/public/layui/layui.js"></script>
<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
<!--[if lt IE 9]>
  <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
  layui.config({
    base: '/static/public/static/js/'
  }).use('house');  //加载入口

</script>

</body>
</html>